package com.example.demo.service.impl;

import com.example.demo.entity.job.PrivateJob;
import com.example.demo.entity.major.MajorAll;
import com.example.demo.mapper.MajorMapper;
import com.example.demo.service.MajorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MajorServiceImpl implements MajorService {

    @Resource
    private MajorMapper majorMapper;

    @Override
    public List<MajorAll> lookAll() {
        return majorMapper.lookAll();
    }

    @Override
    public List<String> departType() {
        return majorMapper.departType();
    }

    @Override
    public List<PrivateJob> getPrivate() {
        return majorMapper.getPrivate();
    }
}
